import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter_admin/pages/large_screen/production_schedule/center_elevation.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class DayDetal extends StatefulWidget{

  final String title;
  final String context;
  DayDetal({Key? key,required this.title,required this.context}):super(key: key);

  _DayDetalState createState() => _DayDetalState();
}

class _DayDetalState extends State<DayDetal>{

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }
  @override
  Widget build(BuildContext context) {
    return Card(
        margin: EdgeInsets.all(10.r),
        clipBehavior: Clip.antiAlias,
        elevation: 1.0,
        color: Color.fromRGBO(11,123,118, 0.3),
        child:Container(
          alignment: Alignment.center,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text(widget.title,style: TextStyle(color: Color.fromRGBO(
                  255,201,11, 1.0),decoration: TextDecoration.none,fontSize: 40.sp)),
              SizedBox(height: 25.h,),
              Text(widget.context,style: TextStyle(color: Color.fromRGBO(7,129,14, 1.0),decoration: TextDecoration.none,fontSize: 30.sp)),
            ],
          ),
        ));

  }
}